package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingPlanVo;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {

    Page<NursingProject> findByPage(String name, Integer status);

    void createNursingProject(NursingProject nursingProject);

    NursingProjectVo findById(Long id);

    void updateNursingProject(NursingProject nursingProject);

    void dedeleteNursingProject(Long id);

    List<NursingProjectVo> findAll();

}
